package com.yk.anima.exption;


import com.yk.anima.response.ResultCode;

/**
 * @author xiaokai
 * @create 2021-05-12 18:12:04
 * @desc...
 */
public class CustomException extends RuntimeException {

    ResultCode resultCode;

    public CustomException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }

    public ResultCode getResultCode() {
        return resultCode;
    }


}
